package com.groupbuying.orderconsumer.connector;



import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;


/**
 * 服务间调用支付中心
 * @author vincentxin
 * @email vincentxin@aliyun.com
 * @date
 * @des
 */

@Service
@FeignClient("bus-pay")
public interface PayFeign{
    //通过订单ID查询支付单信息
    @GetMapping("/getPayInfoByOrderId")
    Map<String, String> getPayInfoByOrderId(@RequestParam ("orderId") String orderId);





}